package com.atguigu.flink.util;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author lzc
 * @Date 2023/6/21 09:36
 */
public class AtguiguUtil {
    
    public static <T>List<T> toList(Iterable<T> elements) {
        ArrayList<T> list = new ArrayList<>();
    
        for (T t : elements) {
            list.add(t);
        }
    
    
        return list;
    }
}
